Fix bug #12878 with compilation failure with Visual C++ 11.0.
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Nov 2012 18:51:06 +0000 (20:51 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Nov 2012 18:51:06 +0000 (20:51 +0200)
commit9be950911565770bc00bf8996036c1fdf305777c
treec72211f617bb33b5a179f8f7c99959c542c77b81
parentae8e68a1a088edc0df08d312218393557cc889f2
Fix bug #12878 with compilation failure with Visual C++ 11.0.

 src/w32select.c: Include w32common.h before w32term.h, so that
 windows.h gets included before w32term.h uses some of its
 features, see below.
 src/w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]: New
 typedefs.
 (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]: New
 prototypes.
 (EnumSystemLocales) [_MSC_VER]: Define if undefined.
src/ChangeLog
src/w32select.c
src/w32term.h